import Request from "./../../core";

// 会员列表
export const getMemberList = (data) => {
  return Request.post(
    `/business_admin/pubDomainUser/pubApp/getCustomerInfoList`,
    data,
    {
      isLoading: true,
    }
  );
};
// 会员详情
export const getMemberDetail = (data) => {
  return Request.post(
    `/business_admin/pubDomainUser/pubApp/getCustomerDetail`,
    data,
    {
      isLoading: true,
    }
  );
};

// 会员余额记录
export const getMemberBalanceRecord = (data) => {
  return Request.post(`/business_admin/balance/record/getBalanceRecord`, data, {
    isLoading: true,
  });
};

// 会员交易记录
export const getMemberDealRecord = (data) => {
  return Request.post(`/order_admin/trade/getMemberDealRecord`, data, {
    isLoading: true,
  });
};
